package cn.tangsihai;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * feign启动类
 */
@SpringBootApplication
@EnableEurekaClient // 标记该应用是 Eureka客户端
@EnableFeignClients(basePackages = "cn.tangsihai.feign.client") // 扫描feign注解
public class PayApplication {
    public static void main(String[] args) {
        SpringApplication.run(PayApplication.class);
    }
}
